package com.naiterui.ehp.bs.doctor.repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bp.domain.DrSpecPatient;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 医生特别关注患者持久层实现
 *
 * @author Amber
 * @since 1.0.0
 */
@Repository
public interface IDrSpecPatientRepository extends BaseJpaRepository<DrSpecPatient, Long>  {


    List<DrSpecPatient> findByDoctorId(Long doctorId);

    DrSpecPatient findFirstByDoctorIdAndPatientId(Long doctorId, Long patientId);


}
